package org.jeecg.modules.ws.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.jeecg.modules.ws.entity.WsZcfzb;
import org.jeecg.modules.ws.mapper.WsZcfzbMapper;
import org.jeecg.modules.ws.service.IWsZcfzbService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.Date;

/**
 * @Description: 资产负债表
 * @Author: jeecg-boot
 * @Date: 2025-02-28
 * @Version: V1.0
 */
@Service
public class WsZcfzbServiceImpl extends ServiceImpl<WsZcfzbMapper, WsZcfzb> implements IWsZcfzbService {

    @Override
    public void deleteBySq(String shxydm, Date skssqq, Date skssqz) {
        LambdaUpdateWrapper<WsZcfzb> wrapper = Wrappers.lambdaUpdate(WsZcfzb.class);
        wrapper.eq(WsZcfzb::getShxydm, shxydm).eq(WsZcfzb::getSkssqq, skssqq).eq(WsZcfzb::getSkssqz, skssqz);
        remove(wrapper);
    }
}
